package com.rjwh.dingdong.client.mvp;

/**
 * Created by wby on 2016/5/18.
 */
public class BaseModel {

    private BasePresenter basePresenter;

    public BasePresenter getBasePresenter() {
        return basePresenter;
    }

    public void setBasePresenter(BasePresenter basePresenter) {
        this.basePresenter = basePresenter;
    }

    public BaseModel(BasePresenter basePresenter) {
        this.basePresenter = basePresenter;
    }

    public void detachView() {
        basePresenter = null;
    }
}
